package com.cx.mall.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cx.mall.common.util.EncryptHandler;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName(value = "user_receive_address",autoResultMap = true)
public class UserReceiveAddress implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long userId;
    private String name;
    private String phoneNumber;
    private Integer defaultStatus;
    private String postCode;
    private String province;
    private String city;
    private String region;
    //@TableField(typeHandler = EncryptHandler.class)
    private String detailAddress;

}
